home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / SUBmods / Menu.h < prev    next >
Text File  |  1996-09-10  |  853b  |  29 lines

  1. /*
  2. ** Header for GadTools based menu subprogram library module.
  3. **
  4. ** Author: David Benn
  5. **   Date: 20th July 1996, 8th,9th August 1996
  6. */
  7.  
  8. Library "intuition"
  9.  
  10. /*
  11. ** Structure definitions.
  12. */
  13. Struct menuInfo
  14.   Address visualInfo
  15.   Address menuStrip
  16. End Struct
  17.  
  18. /*
  19. ** Subprogram declarations.
  20. */
  21. Declare Sub Address MakeMenu(Address theNewMenu,Shortint items) External
  22. Declare Sub AddMenuTitle(Address menuAddr, String theTitle) External
  23. Declare Sub AddMenuItem(Address menuAddr, String theItem, String commKey) External
  24. Declare Sub AddMenuSubItem(Address menuAddr, String theSubItem) External
  25. Declare Sub AddMenuBarItem(Address menuAddr) External
  26. Declare Sub EndMenu(Address menuAddr) External
  27. Declare Sub Longint DisplayMenu(Address winAddr, Address menuAddr, Address infoAddr) External
  28. Declare Sub DestroyMenu(Address win, Address infoAddr) External
  29.